class CreateVisiteMediche < ActiveRecord::Migration
  def self.up
    create_table :visite_mediche do |t|
      t.integer "personale_id"
      t.integer "tipo_visita_medica_id"
      t.date    "data_visita"
      t.text    "note"
      t.binary  "allegato"
      t.integer  "created_by"
      t.integer  "updated_by"
      t.datetime "created_at"
      t.datetime "updated_at"
      t.datetime "deleted_at"

      t.timestamps
    end
  end

  def self.down
    drop_table :visite_mediche
  end
end
